package cn.net.isir.common;

import cn.net.isir.core.JedisManager;
import cn.net.isir.core.SpringApplicationContextUtils;

/**
 * @author liuxubo
 * @filename CacheObjectManager.java
 * @package cn.net.isir.common
 * @email lxb@isir.net.cn
 * @date 2019/03/06
 * @comment
 * @since 1.8
 */
public class CacheObjectManager {
    /**
     * 获取jedis对象
     */
    private static JedisManager jedisManager = SpringApplicationContextUtils.getBean("jedisManager", JedisManager.class);

    /**
     * 商户简版app中的key
     */
    public static CacheObjectHandle appSimpleKey = new CacheObjectHandle("appSimple-key", jedisManager);

    /**
     * 小二推中的key
     */
    public static CacheObjectHandle minipCRMKey = new CacheObjectHandle("minipCRM-Key", jedisManager);

}
